#include<iostream>
#include"namesp.h"
void other(void);
void another(void);
int main(void)
{
    using debts::Debt;
    using debts::showDebt;
    Debt golf={{"画","手"},1300};
    showDebt(golf);
    other();
    another();
    return 0;
}
void other(void)
{
    using std::cout;
    using std::endl;
    using namespace debts;
    Person dg={"李","华"};
    showPerson(dg);
    cout<<endl;
    Debt zippy[3];
    for (int i = 0; i < 3; i++)
    {
        getDebt(zippy[i]);
    }
    for (int i = 0; i < 3; i++)
    {
        showDebt(zippy[i]);
    }
    cout<<"总欠款："<<sumDebts(zippy,3)<<endl;
    return;
}
void another(void)
{
    using pers::Person;
    Person collector={"张","三"};
    pers::showPerson(collector);
    std::cout<<std::endl;
}